package org.jeecg.modules.subject.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.modules.subject.entity.Subject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.subject.model.SubjectModel;
import org.jeecg.modules.subject.vo.SubjectVo;

import java.util.List;

/**
 * @Description: 题目表
 * @Author: jeecg-boot
 * @Date:   2021-08-15
 * @Version: V1.0
 */
public interface ISubjectService extends IService<Subject> {
    /**
     * 查询题目
     * @param subject 条件对象
     * @param pageNo
     * @param pageSize
     * @return
     */
    public IPage<SubjectVo> queryPageList(SubjectModel subject, int pageNo, int pageSize);

    /**
     * 新增试卷对象
     * @param subject
     */
    void add(Subject subject);
}
